<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>GoDisk | Admin</title>
    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/font-awesome/css/font-awesome.css" rel="stylesheet">
    <!-- Gritter -->
    <link href="/static/js/plugins/gritter/jquery.gritter.css" rel="stylesheet">
    <link href="/static/css/animate.css" rel="stylesheet">
    <link href="/static/css/style.css" rel="stylesheet">
    <!-- jQuery -->
    <script src="/static/js/jquery-3.1.1.min.js"></script>
</head>

<body>
<div id="wrapper">
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="sidebar-collapse">
            <ul class="nav metismenu" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element">
                        <img alt="image" class="rounded-circle" src="{{sc "LogoUrl" ""}}"/>
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                            <span class="block m-t-xs font-bold">{{.master}}</span>
                            <span class="text-muted text-xs block">管理员 <b class="caret"></b></span>
                        </a>
                        <ul class="dropdown-menu animated fadeInRight m-t-xs">
                            <li class="dropdown-divider"></li>
                            <li><a class="dropdown-item" href="/logout">退出</a></li>
                        </ul>
                    </div>
                    <div class="logo-element">
                        GoDisk
                    </div>
                </li>
                <li class="active">
                    <a href="/admin"><i class="fa fa-diamond"></i> <span class="nav-label">仪表盘</span></a>
                </li>
                <li>
                    <a href="#"><i class="fa fa-bar-chart-o"></i> <span class="nav-label">本地上传</span><span
                                class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse">
                        <li><a href="/admin/upload/local">上传文件</a></li>
                        <li><a href="/admin/category">分类管理</a></li>
                    </ul>
                </li>
                <li>
                    <a href="/admin/upload/qiniu"><i class="fa fa-flask"></i> <span class="nav-label">七牛云</span></a>
                </li>
                <li>
                    <a href="/admin/upload/upyun"><i class="fa fa-flask"></i> <span class="nav-label">又拍云</span></a>
                </li>
                <li>
                    <a href="/admin/upload/oss"><i class="fa fa-flask"></i> <span class="nav-label">阿里云OSS</span></a>
                </li>
                <li>
                    <a href="/admin/upload/cos"><i class="fa fa-flask"></i> <span class="nav-label">腾讯云COS</span></a>
                </li>
                <li>
                    <a href="/admin/setting"><i class="fa fa-desktop"></i> <span class="nav-label">网站配置</span></a>
                </li>
                <li class="special_link">
                    <a href="/"><i class="fa fa-home"></i> <span class="nav-label">回首页</span></a>
                </li>
            </ul>

        </div>
    </nav>

    <div id="page-wrapper" class="gray-bg">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top white-bg" role="navigation" style="margin-bottom: 0">
                <div class="navbar-header">
                    <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i>
                    </a>

                </div>
                <ul class="nav navbar-top-links navbar-right">
                    <li>
                        <span class="m-r-sm text-muted welcome-message">欢迎使用GoDisk文件存储系统.</span>
                    </li>
                    <li>
                        <a href="/logout">
                            <i class="fa fa-sign-out"></i> 注销
                        </a>
                    </li>
                </ul>

            </nav>
        </div>

        {{.LayoutContent}}

        <div class="footer">
            <div class="float-right">
                Made by <strong>GoDisk</strong> .
            </div>
            <div>
                © 2018 <strong>{{sc "CopyRight" ""}}</strong> All Rights Reserved.
            </div>
        </div>
    </div>
</div>
<!-- 主体脚本 -->
<script src="/static/js/popper.min.js"></script>
<script src="/static/js/bootstrap.js"></script>
<script src="/static/js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="/static/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>

<!-- 自定义和插件 -->
<script src="/static/js/inspinia.js"></script>
<script src="/static/js/plugins/pace/pace.min.js"></script>

<!-- jQuery UI -->
<script src="/static/js/plugins/jquery-ui/jquery-ui.min.js"></script>

</body>
</html>
